import React, { Component } from 'react';
import {  View, Text, } from 'react-native';

export default class MovieView extends Component {
  constructor(props) {
    super(props);
    
  }
  
  static navigationOptions = {
    title:'page1'
  }

  render() {

    const { params } = this.props.navigation.state;
    console.log(this.props.navigation.state)

    return (
      <View>
            <Text> MovieView with {params.user}</Text>
      </View>
    );
  }
}
